﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace PopulateListsFromExcel
{
    static class Program
    {
        public static bool isConsole = false;   
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args)
        {
            Directory.SetCurrentDirectory(Application.StartupPath);
            if (args.Length>0)
            {
                Url = args[0];
                ExcelFileName = args[1];
                isConsole = true;
            }
            
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }

        public static string Url;
        public static string ExcelFileName;

    }
}
